package com.common.aliyun.oss.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author zhengzg
 * @create 2023-09-18 9:46
 */
@Data
@Component
@ConfigurationProperties(prefix = "aliyun.sms")
public class OssProperties {
    /**
     * 域名配置
     */
    private String endpoint;

    /**
     * accessKey
     */
    private String accessKey;

    /**
     * secret
     */
    private String accessKeySecret;

    /**
     * bucket 存储桶
     */
    private String bucket;

    /**
     * 路径前缀
     */
    private String url;
}
